import request from '@/utils/request'

// 一级分类的接口   get  /admin/product/getCategory1

// 属性的接口       get  /admin/product/attrInfoList/2/13/61
export default {
    getCategory1List() {
        return request.get('/admin/product/getCategory1')
    },

    getCategory2List(category1Id) {
        return request.get(`/admin/product/getCategory2/${category1Id}`)
    },
    getCategory3List(category2Id) {
        return request.get(`/admin/product/getCategory3/${category2Id}`,)
    }

}